<?php declare( strict_types = 1 );
/**
* This file is part of Swoft.
*
* @link     https://swoft.org
* @document https://swoft.org/docs
* @contact  group@swoft.org
* @license  https://github.com/swoft-cloud/swoft/blob/master/LICENSE
*/

namespace App\Model\Logic;

use App\Model\Entity\User;

class UserLogic {

    public static function getUserList():array 
    {
        return User::leftJoin("desc as d", "d.id", "=", "user.id")->selectRaw("user.*, d.desc")->get()->toArray();
        return [];
    }

}
